package com.csw.mysqldate.currentMins;

import lombok.extern.slf4j.Slf4j;

@Slf4j
public class SystemClockTest {

	public static void main(String[] args) {
		for (int j = 0; j < 10; j++) {
			long start = System.currentTimeMillis();
			for (int i = 0; i < 10000000; i++) {
				SystemClock.currentTimeMillis();
			}
			long end = System.currentTimeMillis();
			long result = end - start;
			log.info("" + "执行一千万次的执行时间为{}", result);
		}
	}
}
